package com.jn.erp.web.api.student.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jn.erp.web.api.student.entity.StudentCourse;
import com.jn.erp.web.api.student.entity.TStudentCourseSale;
import com.jn.erp.web.api.student.entity.dto.TStudentCourseDto;
import com.jn.erp.web.api.student.entity.vo.StudentCourseVo;
import com.jn.erp.web.api.student.entity.vo.TStudentCourseVo;
import com.jn.erp.web.api.student.entity.vo.TransferOrderVo;

import java.math.BigDecimal;
import java.util.List;

public interface StudentCourseService extends IService<StudentCourse> {

    int getTotalLessonRemainingCount(Long id);

    List<StudentCourse> addOne(StudentCourseVo studentCourseVo);

    String application(StudentCourseVo studentCourseVo, Boolean flag);

    List<TStudentCourseDto> studentCourseList(TStudentCourseVo tStudentCourseVo);

    TStudentCourseDto  studentCourseDetail(TStudentCourseVo tStudentCourseVo);

    List<TStudentCourseSale>  salerList(TStudentCourseVo tStudentCourseVo);

    List<TStudentCourseDto> courseList(TStudentCourseVo tStudentCourseVo);

    List<TStudentCourseDto> courseOrderList(TStudentCourseVo tStudentCourseVo);

    String refundOrder(List<TStudentCourseVo> tStudentCourseVos);

    BigDecimal sumAmount(TStudentCourseVo tStudentCourseVos);

    List<TStudentCourseDto> listSecond(TStudentCourseVo tStudentCourseVo);

    String transferOrder( TransferOrderVo transferOrderVo);

    String dealExceed(TStudentCourseVo tStudentCourseVos);

    String classEnding(TStudentCourseVo tStudentCourseVos);

    String stopsAndResume(TStudentCourseVo tStudentCourseVos);

}
